package models

import "gorm.io/gorm"

type Product struct {
	gorm.Model
	Title   string `gorm:"type:varchar(50)"`
	Content string `gorm:"type:text"`
	Cid     int    `gorm:"type:int"`
}
type Cate struct {
	gorm.Model
	Name string `gorm:"type:varchar(50)"`
}
type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)"`
	Password string `gorm:"type:varchar(255)"`
}
